package com.tju.resource.model;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class TbConsumablesAmount {
    /**
    * 主键
    */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
    * 耗材id
    */
    private Long consumablesId;

    /**
    * 金额
    */
    private double amount;

    /**
    * 操作人
    */
    private String operation;

    /**
    * 更新时间
    */
    private Date updateTime;

    public TbConsumablesAmount() {
    }

    public TbConsumablesAmount(Long consumablesId, double amount, String operation) {
        this.consumablesId = consumablesId;
        this.amount = amount;
        this.operation = operation;
    }
}